Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-834 | GEN004420 | SV-63739r1_rule | ECLP-1 | Medium |
Description |
---|
If a file executed through a mail aliases file has permissions greater than 0755, it can be modified by an unauthorized user and may contain malicious code or instructions potentially compromising the system. |
STIG | Date |
---|---|
Oracle Linux 5 Security Technical Implementation Guide | 2015-03-26 |
Check Text ( C-52323r2_chk ) |
---|
If the "sendmail" package is not installed, this is not applicable. Examine the contents of the /etc/aliases file. Procedure: # more /etc/aliases Examine the aliases file for any referenced programs, which are specified with the pipe (|) symbol. # ls -lL Check the permissions for any paths referenced. If any file referenced from the aliases file has a mode more permissive than 0755, this is a finding. |
Fix Text (F-54333r1_fix) |
---|
Use the chmod command to change the access permissions for files executed from the alias file. For example: # chmod 0755 filename |